-
Notifications
You must be signed in to change notification settings - Fork 236
CI: fix pr-code-format #5163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: fix pr-code-format #5163
Conversation
fe9027a to
bfba335
Compare
5a0d192 to
144fcbe
Compare
|
did some final cleanups, should be good now |
|
@pmatos Could you take a look at this? |
Yep. Give me a couple of hours. |
Previously, changes to externals were also tracked, resulting in absolutely hilarious abominations like https://github.com/FEX-Emu/FEX/actions/runs/20498228017/job/58901276463?pr=5162 So rather than dealing with that weird action, just fetch the main branch and run a `diff --name-only` with the PR's merge base with main. This is how I've done several dozen diff-based scripts (license headers, clang-format, etc) and it works perfectly, so let's just use this. Should run quicker too but don't put any money on it. I also went ahead and removed a bunch of unnecessary quotations cuz wynaut. Signed-off-by: crueter <[email protected]>
144fcbe to
96b8904
Compare
|
@crueter looks good. this is hard to test locally. Lets hope it holds up in practice. Thanks. |
|
@crueter you might have to re-request a review so I can formally approve it. Weird github flow. |
|
augahahhhhaghha |
Sonicadvance1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well if @pmatos says it's okay, then sure, let's see if it works.
Previously, changes to externals were also tracked, resulting in
absolutely hilarious abominations like https://github.com/FEX-Emu/FEX/actions/runs/20498228017/job/58901276463?pr=5162
So rather than dealing with that weird action, just fetch the main
branch and run a
diff --name-onlywith the PR's merge base with main.This is how I've done several dozen diff-based scripts (license headers,
clang-format, etc) and it works perfectly, so let's just use this.
Should run quicker too but don't put any money on it.
I also went ahead and removed a bunch of unnecessary quotations cuz
wynaut.
Signed-off-by: crueter [email protected]